<table width="100%" cellpadding="3">
  <tr>
    <th>State</th>
  </tr>
  <?php if ($states): ?>
  <?php foreach ($states as $state): ?>
  <tr>
    <td><?php echo anchor('job/findByState/' . $state->id, $state->name); ?></td>
  </tr>
  <?php endforeach; ?>
  <?php endif; ?>
</table>
